package _12interface.homework8;

public abstract class A {
    int a=10;
    abstract void showA();
}
abstract class B extends A{
    int b=20;
    abstract void showB();
}
class C extends B{
    int c=30;
    @Override
    void showA() {
        System.out.println(a);
    }

    @Override
    void showB() {
        System.out.println(b);
    }
    public void showC(){
        System.out.println(c);
    }
}